package com.ckerchina.admin.ckadmin.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.ckerchina.admin.ckadmin.domain.IdEntity.IdEntityAuto;

@Entity
public class AppUser extends IdEntityAuto {
	private static final long serialVersionUID = 9206033027073483217L;


	/** 姓名 */
	@Column(length = 20) 
	private String name;

	/** 手机号 */
	@Column(length = 20)
	private String mobile;
    
    /** 注册时间 */
    private Date regTime;

	private String token;

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
}
